import request from '@/utils/request'

// 是否关注吧
export function isFollowBar (userId, barId) {
  return request({
    url: '/isFollowBar',
    method: 'get',
    params: {
      userId: userId,
      barId: barId
    }
  })
}

// 改变关注状态
export function changeFollow (isFollowBar, userId, barId) {
  return request({
    url: '/changeFollow',
    method: 'get',
    params: {
      isFollowBar,
      userId,
      barId
    }
  })
}
